﻿using Volo.Abp.Application.Dtos;

namespace PHMEE.Admin
{
    public class UnitDto : EntityDto<Guid>
    {

        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 英文名
        /// </summary>
        public string NameEn { get; set; }

        /// <summary>
        /// 多语言展示Name
        /// </summary>
        public string DisplayName { get; set; }


        /// <summary>
        /// 编号
        /// </summary>
        public int Number { get; set; }

        /// <summary>
        /// 标签
        /// </summary>
        public string Tags { get; set; }

        /// <summary>
        /// 区域
        /// </summary>
        public string Area { get; set; }

        /// <summary>
        /// 诊断阈值
        /// </summary>
        public double? Threshold { get; set; }

        public UnitEnum Type { get; set; }

        public VesselDto Vessel { get; set; }

        public string VesselDisplayName { get; set; }

        public Dictionary<string, object> DerivedPropertiesJson { get; set; } = new Dictionary<string, object>();

    }
}
